.class public Lcom/estrongs/android/pop/app/compress/d;
.super Ljava/lang/Object;
.source "CompressDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/compress/d$i;
    }
.end annotation


# instance fields
.field private A:Landroid/widget/Button;

.field private B:[Ljava/lang/String;

.field private C:I

.field public D:Ljava/lang/String;

.field public E:Ljava/lang/String;

.field private F:Lcom/estrongs/android/pop/app/compress/d$i;

.field private a:Lcom/estrongs/android/ui/dialog/q;

.field private b:Landroid/content/Context;

.field private c:Ljava/lang/String;

.field private d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private e:Landroid/view/View;

.field private f:Landroid/widget/EditText;

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Landroid/widget/RadioGroup;

.field private j:Landroid/view/View;

.field private k:Landroid/view/View;

.field private l:Les/a80;

.field m:Z

.field private n:Landroid/widget/ProgressBar;

.field private o:Landroid/widget/TextView;

.field private p:Landroid/widget/TextView;

.field private q:Landroid/widget/TextView;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/TextView;

.field u:Les/f80;

.field private v:Les/n80;

.field private w:Landroid/widget/EditText;

.field private x:Landroid/widget/CheckBox;

.field private y:Landroid/view/View;

.field private z:Landroid/view/View;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/util/ArrayList;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->f:Landroid/widget/EditText;

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    const/4 v1, 0x0

    .line 4
    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/compress/d;->m:Z

    .line 5
    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->n:Landroid/widget/ProgressBar;

    .line 6
    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->w:Landroid/widget/EditText;

    const/4 v2, 0x2

    .line 7
    iput v2, p0, Lcom/estrongs/android/pop/app/compress/d;->C:I

    .line 8
    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->F:Lcom/estrongs/android/pop/app/compress/d$i;

    .line 9
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    .line 10
    iput-object p2, p0, Lcom/estrongs/android/pop/app/compress/d;->c:Ljava/lang/String;

    .line 11
    iput-object p3, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    if-eqz p3, :cond_1

    .line 12
    invoke-virtual {p3}, Ljava/util/ArrayList;->size()I

    move-result p1

    const/4 p2, 0x1

    if-ge p1, p2, :cond_0

    goto :goto_0

    .line 13
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->e()V

    return-void

    .line 14
    :cond_1
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    const p2, 0x7f1104a3

    invoke-virtual {p1, p2}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object p2

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/compress/d;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/estrongs/android/pop/app/compress/d;->C:I

    return p1
.end method

.method private a(I)Landroid/view/View;
    .locals 1

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->e:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/compress/d;)Les/n80;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->v:Les/n80;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/compress/d;Ljava/lang/String;)Ljava/util/Map;
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/compress/d;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object p0

    return-object p0
.end method

.method private a(Ljava/lang/String;)Ljava/util/Map;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 4
    new-instance v0, Ljava/util/HashMap;

    const/4 v1, 0x2

    invoke-direct {v0, v1}, Ljava/util/HashMap;-><init>(I)V

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->h:Ljava/lang/String;

    const-string v3, "zip"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    invoke-virtual {v2}, Landroid/widget/Button;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/d;->B:[Ljava/lang/String;

    const/4 v4, 0x0

    aget-object v3, v3, v4

    invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    const-string v3, "compress_level"

    if-eqz v2, :cond_0

    .line 7
    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 8
    :cond_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    invoke-virtual {v2}, Landroid/widget/Button;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    iget-object v4, p0, Lcom/estrongs/android/pop/app/compress/d;->B:[Ljava/lang/String;

    const/4 v5, 0x1

    aget-object v4, v4, v5

    invoke-virtual {v2, v4}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 9
    invoke-static {v5}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 10
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    invoke-virtual {v2}, Landroid/widget/Button;->getText()Ljava/lang/CharSequence;

    move-result-object v2

    iget-object v4, p0, Lcom/estrongs/android/pop/app/compress/d;->B:[Ljava/lang/String;

    aget-object v1, v4, v1

    invoke-virtual {v2, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 v1, -0x1

    .line 11
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 12
    :cond_2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    invoke-virtual {v1}, Landroid/widget/Button;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->B:[Ljava/lang/String;

    const/4 v4, 0x3

    aget-object v2, v2, v4

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    const/16 v1, 0x9

    .line 13
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 14
    :cond_3
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_4

    const-string v1, "password"

    .line 15
    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_4
    return-object v0
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/compress/d;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/compress/d;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/d;->g:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/compress/d;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->z:Landroid/view/View;

    return-object p0
.end method

.method private c()Ljava/lang/String;
    .locals 3

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->c:Ljava/lang/String;

    const-string v1, "/"

    .line 4
    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 5
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 6
    :cond_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, ".."

    .line 7
    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 8
    :try_start_0
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->getCanonicalPath()Ljava/lang/String;

    move-result-object v0
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_1
    return-object v0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/compress/d;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/d;->h:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic d(Lcom/estrongs/android/pop/app/compress/d;)Landroid/widget/EditText;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->w:Landroid/widget/EditText;

    return-object p0
.end method

.method private d()Ljava/lang/String;
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->g:Ljava/lang/String;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v2, 0x1

    if-ge v1, v2, :cond_1

    :cond_0
    const-string v0, "auto_name"

    .line 4
    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "."

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->h:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private e()V
    .locals 5

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0069

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->e:Landroid/view/View;

    .line 3
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f110133

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->e:Landroid/view/View;

    .line 4
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/view/View;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/compress/d$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/compress/d$d;-><init>(Lcom/estrongs/android/pop/app/compress/d;)V

    const v2, 0x7f11029e

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/compress/d$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/compress/d$c;-><init>(Lcom/estrongs/android/pop/app/compress/d;)V

    const v2, 0x7f110299

    .line 5
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/compress/d$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/compress/d$b;-><init>(Lcom/estrongs/android/pop/app/compress/d;)V

    .line 6
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnKeyListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 7
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->a:Lcom/estrongs/android/ui/dialog/q;

    const v0, 0x7f090443

    .line 8
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->f:Landroid/widget/EditText;

    const v0, 0x7f090150

    .line 9
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RadioGroup;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->i:Landroid/widget/RadioGroup;

    .line 10
    new-instance v1, Lcom/estrongs/android/pop/app/compress/d$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/compress/d$e;-><init>(Lcom/estrongs/android/pop/app/compress/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->setOnCheckedChangeListener(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V

    const v0, 0x7f09014c

    .line 11
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->k:Landroid/view/View;

    const v0, 0x7f09014d

    .line 12
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->j:Landroid/view/View;

    const v0, 0x7f090152

    .line 13
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RadioButton;

    .line 14
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    const/16 v2, 0x8

    const/4 v3, 0x1

    if-le v1, v3, :cond_0

    .line 15
    invoke-virtual {v0, v2}, Landroid/widget/RadioButton;->setVisibility(I)V

    goto :goto_0

    .line 16
    :cond_0
    new-instance v1, Ljava/io/File;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    const/4 v4, 0x0

    invoke-interface {v3, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-direct {v1, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 17
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v3

    if-nez v3, :cond_1

    .line 18
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/compress/d;->a()V

    goto :goto_0

    .line 19
    :cond_1
    invoke-virtual {v1}, Ljava/io/File;->isDirectory()Z

    move-result v1

    if-eqz v1, :cond_2

    .line 20
    invoke-virtual {v0, v2}, Landroid/widget/RadioButton;->setVisibility(I)V

    goto :goto_0

    .line 21
    :cond_2
    invoke-virtual {v0, v4}, Landroid/widget/RadioButton;->setVisibility(I)V

    .line 22
    :goto_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->f()V

    .line 23
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->h()V

    return-void
.end method

.method static synthetic e(Lcom/estrongs/android/pop/app/compress/d;)[Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->B:[Ljava/lang/String;

    return-object p0
.end method

.method static synthetic f(Lcom/estrongs/android/pop/app/compress/d;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/compress/d;->C:I

    return p0
.end method

.method private f()V
    .locals 3

    const v0, 0x7f09070f

    .line 2
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->y:Landroid/view/View;

    const v0, 0x7f0903fb

    .line 3
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->w:Landroid/widget/EditText;

    const-string v1, ""

    .line 4
    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->w:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getInputType()I

    move-result v0

    const v1, 0x7f0901f0

    .line 6
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/CheckBox;

    const/4 v2, 0x0

    .line 7
    invoke-virtual {v1, v2}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 8
    new-instance v2, Lcom/estrongs/android/pop/app/compress/d$f;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/pop/app/compress/d$f;-><init>(Lcom/estrongs/android/pop/app/compress/d;I)V

    invoke-virtual {v1, v2}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    const v0, 0x7f09021c

    .line 9
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->x:Landroid/widget/CheckBox;

    const v0, 0x7f090709

    .line 10
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->z:Landroid/view/View;

    const v0, 0x7f090b02

    .line 11
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f03001f

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->B:[Ljava/lang/String;

    .line 13
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    iget v2, p0, Lcom/estrongs/android/pop/app/compress/d;->C:I

    aget-object v0, v0, v2

    invoke-virtual {v1, v0}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/pop/app/compress/d$g;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/compress/d$g;-><init>(Lcom/estrongs/android/pop/app/compress/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic g(Lcom/estrongs/android/pop/app/compress/d;)Landroid/widget/Button;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->A:Landroid/widget/Button;

    return-object p0
.end method

.method private g()V
    .locals 4

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/compress/d;->m:Z

    const v0, 0x7f090884

    .line 3
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->s:Landroid/widget/TextView;

    const v0, 0x7f090886

    .line 4
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->t:Landroid/widget/TextView;

    const v0, 0x7f090427

    .line 5
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->o:Landroid/widget/TextView;

    const v0, 0x7f09014f

    .line 6
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->n:Landroid/widget/ProgressBar;

    const v0, 0x7f090918

    .line 7
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->r:Landroid/widget/TextView;

    const v0, 0x7f090bf1

    .line 8
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->p:Landroid/widget/TextView;

    const v0, 0x7f090bf0

    .line 9
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->q:Landroid/widget/TextView;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->a:Lcom/estrongs/android/ui/dialog/q;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    const v2, 0x7f110299

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/app/compress/d$h;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/compress/d$h;-><init>(Lcom/estrongs/android/pop/app/compress/d;)V

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setSingleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 11
    new-instance v0, Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    const v2, 0x7f1106a5

    .line 12
    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-direct {v0, v1, v3, v2}, Les/a80;-><init>(Landroid/content/Context;Lcom/estrongs/android/pop/app/compress/b;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    .line 13
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->s:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Les/a80;->b(Landroid/widget/TextView;)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->t:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Les/a80;->c(Landroid/widget/TextView;)V

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->o:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Les/a80;->a(Landroid/widget/TextView;)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->n:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v1}, Les/a80;->a(Landroid/widget/ProgressBar;)V

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->r:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Les/a80;->d(Landroid/widget/TextView;)V

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Les/a80;->e(Landroid/widget/TextView;)V

    .line 19
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->q:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Les/a80;->f(Landroid/widget/TextView;)V

    .line 20
    new-instance v0, Les/n80;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    invoke-direct {v0, v1}, Les/n80;-><init>(Les/a80;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->v:Les/n80;

    return-void
.end method

.method static synthetic h(Lcom/estrongs/android/pop/app/compress/d;)Les/a80;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->l:Les/a80;

    return-object p0
.end method

.method private h()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-le v0, v2, :cond_0

    .line 3
    new-instance v0, Ljava/io/File;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/d;->c:Ljava/lang/String;

    invoke-direct {v0, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 4
    :cond_0
    new-instance v0, Ljava/io/File;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-direct {v0, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v0

    :goto_0
    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v3, v2, :cond_2

    :cond_1
    const-string v0, "allfiles"

    .line 6
    :cond_2
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->f:Landroid/widget/EditText;

    invoke-virtual {v2, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->f:Landroid/widget/EditText;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    invoke-virtual {v2, v1, v0}, Landroid/widget/EditText;->setSelection(II)V

    return-void
.end method

.method static synthetic i(Lcom/estrongs/android/pop/app/compress/d;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    return-object p0
.end method

.method private i()V
    .locals 7

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->F:Lcom/estrongs/android/pop/app/compress/d$i;

    if-eqz v0, :cond_0

    .line 3
    new-instance v0, Lcom/estrongs/android/pop/app/compress/c;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/compress/c;-><init>()V

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->c()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/pop/app/compress/c;->a:Ljava/lang/String;

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->d:Ljava/util/List;

    iput-object v1, v0, Lcom/estrongs/android/pop/app/compress/c;->c:Ljava/util/List;

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->h:Ljava/lang/String;

    iput-object v1, v0, Lcom/estrongs/android/pop/app/compress/c;->d:Ljava/lang/String;

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->w:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/pop/app/compress/c;->b:Ljava/lang/String;

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->w:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/compress/d;->a(Ljava/lang/String;)Ljava/util/Map;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/pop/app/compress/c;->e:Ljava/util/Map;

    .line 9
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->F:Lcom/estrongs/android/pop/app/compress/d$i;

    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/compress/d$i;->a(Lcom/estrongs/android/pop/app/compress/c;)V

    .line 10
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/compress/d;->a()V

    return-void

    .line 11
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->k:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->j:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0907bc

    .line 13
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/compress/d;->a(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    const v3, 0x7f110a60

    const/4 v4, 0x1

    new-array v5, v4, [Ljava/lang/Object;

    .line 14
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->d()Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v1

    invoke-virtual {v2, v3, v5}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    .line 15
    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->a:Lcom/estrongs/android/ui/dialog/q;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/d;->b:Landroid/content/Context;

    const v3, 0x7f110699

    .line 17
    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v5, p0, Lcom/estrongs/android/pop/app/compress/d;->g:Ljava/lang/String;

    aput-object v5, v3, v1

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/d;->h:Ljava/lang/String;

    aput-object v1, v3, v4

    .line 18
    invoke-static {v2, v3}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    .line 19
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/compress/d;->m:Z

    if-nez v0, :cond_1

    .line 20
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->g()V

    .line 21
    :cond_1
    new-instance v0, Lcom/estrongs/android/pop/app/compress/d$a;

    const-string v1, "ArchiveCompress"

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/pop/app/compress/d$a;-><init>(Lcom/estrongs/android/pop/app/compress/d;Ljava/lang/String;)V

    .line 22
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method static synthetic j(Lcom/estrongs/android/pop/app/compress/d;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->g:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic k(Lcom/estrongs/android/pop/app/compress/d;)Landroid/widget/EditText;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->f:Landroid/widget/EditText;

    return-object p0
.end method

.method static synthetic l(Lcom/estrongs/android/pop/app/compress/d;)Landroid/widget/RadioGroup;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->i:Landroid/widget/RadioGroup;

    return-object p0
.end method

.method static synthetic m(Lcom/estrongs/android/pop/app/compress/d;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->e:Landroid/view/View;

    return-object p0
.end method

.method static synthetic n(Lcom/estrongs/android/pop/app/compress/d;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->h:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic o(Lcom/estrongs/android/pop/app/compress/d;)Ljava/lang/String;
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->c()Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method static synthetic p(Lcom/estrongs/android/pop/app/compress/d;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/compress/d;->i()V

    return-void
.end method

.method static synthetic q(Lcom/estrongs/android/pop/app/compress/d;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/compress/d;->y:Landroid/view/View;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method

.method public a(Lcom/estrongs/android/pop/app/compress/d$i;)V
    .locals 0

    .line 18
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/d;->F:Lcom/estrongs/android/pop/app/compress/d$i;

    return-void
.end method

.method public b()V
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/d;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method
